<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>index</title>
</head>
<body>
<form action="${pageContext.request.contextPath}\HelloWorldServlet" method="post">
    <label>姓名<input type="text" name="name" /></label>
    <br>
    <label>年龄<input type="text" name="age"></label>
    <br>
    <label>学号<input type="text" name="sno"></label>
    <input type="submit" value="登陆">
</form>
</body>
</html>
